<template>
  <div id="index">
    <el-container>
      <el-aside width="200px">
          <main-menu></main-menu>
        </el-aside>
        <el-container>
          <el-header>
        <h2>酒店管理系统</h2>
      </el-header>
          <el-main>
            <router-view></router-view>
          </el-main>
          <el-footer>
              <i class="el-icon-grape"></i> 西安巨硬蛟龙国际假日酒店 <i
                class="el-icon-grape"
              ></i>
          </el-footer>
        </el-container>
      </el-container>
  </div>
</template>
<script>
import MainMenu from "@/components/MainMenu";

export default {
  data() {
    return {};
  },
  methods: {},
  components: {
    MainMenu,
  },
};
</script>
<style>
.el-header{
  background-color: #0b0c0c;
  color: rgb(250, 249, 249);
  /* text-align: center; */
  line-height: 20px;
}
.el-footer {
  background-color: #0b0c0c;
  color: rgb(250, 249, 249);
  /* text-align: center; */
  line-height: 60px;
}

.el-aside {
  background-color: #080808;
  color: #333;
  /* text-align: center; */
  /* line-height: 200px; */
  height: 800px;
}

.el-main {
  background-size: 100% 100%;
  background-image: url(../assets/4.jpeg);
  background-color: #e9eef3;
  color: #333;
  /* text-align: center; */
}

body > .el-container {
  /* margin-bottom: 0px; */
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  /* line-height: 260px; */
}

.el-container:nth-child(7) .el-aside {
  /* line-height: 320px; */
}
</style>